From ab81bf2b2c38b95efa39112083e6d9e10f81501b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 18 May 2005 13:18:17 +0000 Subject: [PATCH] Fix the default values of draw-value and value-pos to be the values we 2005-05-18 Matthias Clasen * gtk/gtkscale.c (gtk_scale_class_init): Fix the default values of draw-value and value-pos to be the values we actually use in _init. (#304547, Mikael Hallendal) --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkscale.c | 4 ++-- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b764999be9..985fbb1a70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-05-18 Matthias Clasen + * gtk/gtkscale.c (gtk_scale_class_init): Fix the default + values of draw-value and value-pos to be the values we + actually use in _init. (#304547, Mikael Hallendal) + * gtk/gtkcellrendererpixbuf.c: Support named icons in cells by adding a icon-name property. (#165777, Anders Carlsson) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b764999be9..985fbb1a70 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-05-18 Matthias Clasen + * gtk/gtkscale.c (gtk_scale_class_init): Fix the default + values of draw-value and value-pos to be the values we + actually use in _init. (#304547, Mikael Hallendal) + * gtk/gtkcellrendererpixbuf.c: Support named icons in cells by adding a icon-name property. (#165777, Anders Carlsson) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b764999be9..985fbb1a70 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,9 @@ 2005-05-18 Matthias Clasen + * gtk/gtkscale.c (gtk_scale_class_init): Fix the default + values of draw-value and value-pos to be the values we + actually use in _init. (#304547, Mikael Hallendal) + * gtk/gtkcellrendererpixbuf.c: Support named icons in cells by adding a icon-name property. (#165777, Anders Carlsson) diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index e3abc94b4c..38724adf84 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -182,7 +182,7 @@ gtk_scale_class_init (GtkScaleClass *class) g_param_spec_boolean ("draw-value", P_("Draw Value"), P_("Whether the current value is displayed as a string next to the slider"), - FALSE, + TRUE, GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, @@ -191,7 +191,7 @@ gtk_scale_class_init (GtkScaleClass *class) P_("Value Position"), P_("The position in which the current value is displayed"), GTK_TYPE_POSITION_TYPE, - GTK_POS_LEFT, + GTK_POS_TOP, GTK_PARAM_READWRITE)); gtk_widget_class_install_style_property (widget_class, -- 2.30.2